<template>
  <div class="chat-online">
      <chat-online-header @return="onReturn" @detail="onDetail" :title="title" />
  </div>
</template>

<script>
import chatOnlineHeader from '../../components/chat-online-header.vue'
export default {
  components: { chatOnlineHeader },
  name: 'chat-online',
  data() {
      return {
          title: '',
      }
  },
  methods: {
      onReturn() {
          this.$router.back();
      },
      onDetail() {

      }
  },
  created() {
      this.title = this.$route.params.title;
  }
}
</script>

<style scoped>

</style>